<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sparklines in Javascript</title>
<script src="/js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="/js/jquery.sparkline.js" type="text/javascript"></script>
<script type="text/javascript">

jQuery(function($) {
    values_01 = [1,2,3,4,5,5,5,6,6,6,5,4,5,6,7,8,8,8,8,8,9,9,9,9,9,9,9,9,10,8,6,6,5,4,4,5,4,3,2,1,1,1,1,3,5,5,5,5,6,7,7,7,7,7,8];
    options_01 = {
        height: '10px',
        lineColor: '#f00',
        fillColor: false
    };
    $("#spark").sparkline(values_01, options_01);
    values_02 = [1,2,3,4,5,5,5,6,6,6,5,4,5,6,7,8,8,8,8,8,9,9,9,9,9,9,9,9,10,8,6,6,5,4,4,5,4,3,2,1,1,1,1,3,5,5,5,5,6,7,7,7,7,7,8];
    options_02 = {
        height: '20px',
        lineColor: '#f00',
        fillColor: false
    };
    $("#spark2").sparkline(values_02, options_02);
});

</script>
</head>

<body>
<span id="spark"></span><br /><br /><br /><br /><span id="spark2"></span>
</body>
</html>
